package cn.iocoder.yudao.module.im.enums;

import cn.iocoder.yudao.framework.common.exception.ErrorCode;

public interface ErrorCodeConstants {

    ErrorCode MEMBER_CONVERSATION_NOT_EXISTS = new ErrorCode(1-013-120-000, "IM会话不存在");

    ErrorCode MEMBER_MESSAGE_NOT_EXISTS = new ErrorCode(1-013-120-001, "IM消息不存在");

    ErrorCode GROUP_NOT_EXISTS = new ErrorCode(1-013-120-002, "IM分组不存在");

    ErrorCode MEMBER_MESSAGE_STOP = new ErrorCode(1-013-120-005, "内容违规，禁言10分钟");

    ErrorCode MEMBER_MESSAGE_ERROR = new ErrorCode(1-013-120-006, "系统繁忙，请稍后再试");

    ErrorCode CREATE_CONVERSATION_ERROR = new ErrorCode(1-013-120-007, "系统不支持和自己聊天");

    ErrorCode MEMBER_MESSAGE_MORE = new ErrorCode(1-013-121-002, "匹配人数过多，请稍后再试");

    ErrorCode IM_POINT_NOT_EXISTS = new ErrorCode(1-014-121-021, "发送消息需要消耗{}积分");

    ErrorCode IM_VIP_NOT_EXISTS = new ErrorCode(1-014-123-021, "发送消息只对会员开放");

    ErrorCode IMAGE_VIP_NOT_EXISTS = new ErrorCode(1-014-123-021, "发送图片只对会员开放");

    ErrorCode RANDOM_VIP_NOT_EXISTS = new ErrorCode(1-014-123-021, "快速匹配只对会员开放");

    ErrorCode IMAGE_POINT_NOT_EXISTS = new ErrorCode(1-014-121-021, "发送图片需要消耗{}积分");

    ErrorCode RANDOM_POINT_NOT_EXISTS = new ErrorCode(1-014-121-021, "今日免费次数已用完，快速匹配需要消耗100积分");

    ErrorCode IM_DISABLED_TIME = new ErrorCode(1-015-122-022, "系统检测违规，解封时间: {}");

    ErrorCode IM_SLASHED_DISABLED = new ErrorCode(1-016-123-023, "已被拉黑，对方拒绝接收消息");

}
